//
//  ChangeSoureModel.swift
//  DZMeBookRead
//
//  Created by fox on 2017/8/30.
//  Copyright © 2017年 DZM. All rights reserved.
//

import UIKit
import ObjectMapper

/// 切换源数据
class ChangeSoureModel: BaseResponse {

    var id:String = ""
    var lastChapter:String = ""
    var updated:String = ""
    
    override func mapping(map: Map) {
        id                      <- map["_id"]
        lastChapter             <- map["lastChapter"]
        updated                 <- map["updated"]
    }
}
class SoureModel: BaseResponse {
    
    var array:[ChangeSoureModel] = []
    
    
    override func mapping(map: Map) {
        array                      <- map["array"]
           }
}
